package net.cyan.commons.transaction;

/**
 * 
 * @author camel
 * @date 2008-11-21
 */
public abstract class AbstractTransactionManager<D extends TransactionDefine>
        implements TransactionFactory, TransactionManager<D>
{
    public AbstractTransactionManager()
    {
    }

    public TransactionManager getTransactionManager(String name) throws Exception
    {
        return this;
    }

    public String getTransactionName(Object obj)
    {
        return "";
    }

    public void close() throws Exception
    {
    }
}
